package root.electronclass.electronclass.mvp.entity;


import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 教学楼
 * </p>
 *
 * //@author 
 * //@since 2022-07-25
 */
//@Data
//@EqualsAndHashCode(callSuper = false)
//@Accessors(chain = true)
//@ApiModel(value="ExamBuilding对象", description="教学楼")
public class ExamBuilding implements Serializable {

    private static final long serialVersionUID = 1L;

    //@TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //@ApiModelProperty(value = "名称")
    private String name;

    private Integer parentId;

    private Long schoolId;

    //@ApiModelProperty("1-教学楼 2-楼层 3-班级")
    private Integer type;

    //教学楼id
    private Integer rootId;

    //@ApiModelProperty("关联班级id")
    //@TableField(strategy = FieldStrategy.IGNORED)
    private Long departId;

    //@TableField(fill = FieldFill.INSERT)
    private String createTime;

    //@TableField(fill = FieldFill.UPDATE)
    private String modifyTime;

    //@TableField(exist = false)
    //@ApiModelProperty("传floorName，name, departId")
    //@NotEmpty
    private List<ExamBuilding> children;

    //@TableField(exist = false)
    //@ApiModelProperty("学校名称")
    private String schoolName;

    //@TableField(exist = false)
    //@ApiModelProperty("教学楼名称")
    //@NotNull
    private String buildingName;

    //@TableField(exist = false)
    //@ApiModelProperty("楼层名称")
    private String floorName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getRootId() {
        return rootId;
    }

    public void setRootId(Integer rootId) {
        this.rootId = rootId;
    }

    public Long getDepartId() {
        return departId;
    }

    public void setDepartId(Long departId) {
        this.departId = departId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public List<ExamBuilding> getChildren() {
        return children;
    }

    public void setChildren(List<ExamBuilding> children) {
        this.children = children;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public String getFloorName() {
        return floorName;
    }

    public void setFloorName(String floorName) {
        this.floorName = floorName;
    }
}
